const {APP_URL,API_URL, corpId,agentId} = require(`./../config/${ENV}.json`);
import Icon from 'salt-icon'

module.exports = {
  jsonConfig: {
    url: APP_URL,
    orderProperty: '',
    direction: '钉钉配置'
  },

  aqTabBarItems: [
    {title: '现场监督', icon: <Icon name='pen'/>, name: '现场监督'},
    {title: '查询记录', icon: <Icon name='search'/>, name: '查询记录'}],

  zlTabBarItems: [
    {title: '现场监督', icon: <Icon name='pen'/>, name: '现场监督'},
    {title: '查询记录', icon: <Icon name='search'/>, name: '查询记录'}],
  zljlicons: [{
    id: 'zlxcjl',
    text: '质量监督巡查记录',
    icon: require('./../images/11.png'),
    route: 'zlxcjledit/new/add'
  }, {
    id: 'zlysjl',
    text: '质量验收记录',
    icon: require('./../images/22.png'),
    route: 'zlysjledit/new/add'
  }],
  zlzficons: [{
    id: 'zlwtzgtzs',
    text: '质量问题整改通知',
    icon: require('./../images/33.png'),
    route: 'zlzgtzsedit/new/add'
  }, {
    id: 'jbtgzgtzs',
    text: '局部停工整改通知',
    icon: require('./../images/44.png'),
    route: 'zljbtgedit/new/add'
  }],
  aqjlicons: [
    {
      id: 'aqxcjl',
      text: '安全监督巡查记录',
      icon: require('./../images/55.png'),
      route: 'aqxcjledit/new/add'
    },
  ],
  aqzficons: [
    {
      id: 'aqwtzgtzs',
      text: '安全问题整改',
      icon: require('./../images/66.png'),
      route: 'aqzgtzsedit/new/add'
    },
    {
      id: 'aqjbtgzgtzs',
      text: '安全局部停工整改',
      icon: require('./../images/77.png'),
      route: 'aqjbtgedit/new/add'
    }
  ],

  slideImgList: [
    {
      img: API_URL+'pic/1.jpg',
      title: '',
      url: ''
    },
    {
      img: API_URL+'pic/2.jpg',
      title: '',
      url: ''
    },
    {
      img: API_URL+'pic/3.jpg',
      title: '',
      url: ''
    }],
  menuList: [
    {
      id: 'zljd',
      text: '质量监督',
      img: require('./../images/质量监督.png'),
      route: APP_URL + '#zljdhome'
      //route: '/zljdhome'
    }, {
      id: 'aqjd',
      text: '安全监督',
      img: require('./../images/安全监督.png'),
      route: APP_URL + '#aqjdhome'
      //route: '/aqjdhome'
    }, {
      id: 'dp',
      text: '钉盘',
      img: require('./../images/顶盘.png'),
      route: 'dingtalk://dingtalkclient/action/switchtab?index=2&name=work&scene=1&corpid=' + corpId + '&appid=-3'
    }, {
      id: 'rzsss',
      text: '日志',
      img: require('./../images/日志.png'),
      route: 'dingtalk://dingtalkclient/action/switchtab?index=2&name=work&scene=1&corpid=' + corpId + '&appid=2'
    }, {
      id: 'yz',
      text: '在线验证',
      img: require('./../images/在线验证.png'),
      route: ''
    }, {
      id: 'tzgg',
      text: '通知公告',
      img: require('./../images/通知.png'),
      route: 'dingtalk://dingtalkclient/action/switchtab?index=2&name=work&scene=1&corpid=' + corpId + '&agentid='+ agentId
    }],

  xxjdArray : [
    { value: 0, text: '未开工' },               { value: 1, text: '场地平整' },
    { value: 2, text: '围护桩施工' },           { value: 3, text: '基坑支撑施工' },
    { value: 4, text: '深基坑开挖' },           { value: 5, text: '工程桩施工' },
    { value: 6, text: '桩基（地基处理）验收' }, { value: 7, text: '基槽开挖' },
    { value: 8, text: '垫层施工' },              { value: 9, text: '基础、承台、条基（筏板）施工' },
    { value: 10, text: '地下1层' }, { value: 11, text: '地下2层' },
    { value: 11, text: '地下3层' }, { value: 12, text: '地下4层' },
    { value: 13, text: '地上1层' }, { value: 14, text: '地上2层' },
    { value: 15, text: '地上3层' }, { value: 16, text: '地上4层' },
    { value: 17, text: '地上5层' }, { value: 18, text: '地上6层' },
    { value: 19, text: '地上7层' }, { value: 20, text: '地上8层' },
    { value: 21, text: '地上9层' }, { value: 22, text: '地上10层' },
    { value: 23, text: '地上11层' }, { value: 24, text: '地上12层' },
    { value: 25, text: '地上13层' }, { value: 26, text: '地上14层' },
    { value: 27, text: '地上15层' }, { value: 28, text: '地上16层' },
    { value: 29, text: '地上17层' }, { value: 30, text: '地上18层' },
    { value: 31, text: '地上19层' }, { value: 32, text: '地上20层' },
    { value: 33, text: '地上21层' }, { value: 34, text: '地上22层' },
    { value: 35, text: '地上23层' }, { value: 36, text: '地上24层' },
    { value: 37, text: '地上25层' }, { value: 38, text: '地上26层' },
    { value: 39, text: '地上27层' }, { value: 40, text: '地上28层' },
    { value: 41, text: '地上29层' }, { value: 42, text: '地上30层以上' },
    { value: 43, text: '吊顶工程' }, { value: 44, text: '墙面工程' },
    { value: 45, text: '幕墙工程' }, { value: 46, text: '通风与空调' },
    { value: 47, text: '节能' },     { value: 48, text: '设备安装' },
    { value: 49, text: '验收' },     { value: 50, text: '预验收' },
    { value: 51, text: '其它' },     { value: 52, text: '路基工程' },
    { value: 53, text: '路面工程' }, { value: 54, text: '已竣工' },
    { value: 55, text: '已使用' },
  ],
  //形象
  xxjd: [
    {
      checked: false,
      text: '基础结构',
      value: '1',
      slotText: '基础结构',
    },
    {
      checked: false,
      text: "主体结构",
      value: '2',
      slotText: '主体结构',
    },
    {
      checked: false,
      text: "装饰装修",
      value: '3',
      slotText: '装饰装修',
    }
  ],
  //验收进度
  ysjd: [
    {
      checked: false,
      text: '基础结构',
      value: '1',
      slotText: '基础结构',
    },
    {
      checked: false,
      text: "主体结构",
      value: '2',
      slotText: '主体结构',
    },
    {
      checked: false,
      text: "装饰装修",
      value: '3',
      slotText: '装饰装修',
    }
  ],
  zllxdata: [
    {
      checked: false,
      text: "行为",
      value: '1',
      slotText: '行为',
    },
    {
      checked: false,
      text: "结构",
      value: '2',
      slotText: '结构',
    },
    {
      checked: false,
      text: "使用功能",
      value: '3',
      slotText: '使用功能',
    },
    {
      checked: false,
      text: "装饰",
      value: '4',
      slotText: '装饰',
    },
    {
      checked: false,
      text: "资料",
      value: '5',
      slotText: '资料',
    },
    {
      checked: false,
      text: "建筑节能",
      value: '6',
      slotText: '建筑节能',
    },
    {
      checked: false,
      text: "基坑工程",
      value: '7',
      slotText: '基坑工程',
    },
    {
      checked: false,
      text: "其他",
      value: '8',
      slotText: '其他',
    }
  ],
  aqlxdata: [
    {
      checked: false,
      text: "安全管理",
      value: '7',
      slotText: '安全管理',
    },
    {
      checked: false,
      text: "文明施工",
      value: '8',
      slotText: '文明施工',
    },
    {
      checked: false,
      text: "脚手架",
      value: '9',
      slotText: '脚手架',
    },
    {
      checked: false,
      text: "基坑工程",
      value: '10',
      slotText: '基坑工程',
    },
    {
      checked: false,
      text: "模板工程",
      value: '11',
      slotText: '模板工程',
    },
    {
      checked: false,
      text: "高处作业",
      value: '12',
      slotText: '高处作业',
    },
    {
      checked: false,
      text: "施工用电",
      value: '13',
      slotText: '施工用电',
    },

    {
      checked: false,
      text: "施工升降机",
      value: '14',
      slotText: '施工升降机',
    },
    {
      checked: false,
      text: "塔吊",
      value: '15',
      slotText: '塔吊',
    },
    {
      checked: false,
      text: "起重吊装",
      value: '16',
      slotText: '起重吊装',
    },
    {
      checked: false,
      text: "施工机具",
      value: '17',
      slotText: '施工机具',
    },
    {
      checked: false,
      text: "安全监理",
      value: '18',
      slotText: '安全监理',
    },

    {
      checked: false,
      text: "其他",
      value: '20',
      slotText: '其他',
    }
  ],
};
